package com.coderman.basketball.statistics.controller;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description:
 * date: 2021/5/11
 *
 * @author shenshuai
 * @version 1.0.0
 * @since JDK 1.8
 * 比赛活动数据实时查询控制层
 */
@RestController
public class GameDataController {

    /**
     * 获取球队比赛数据
     * 包括主队/客队
     * @return
     */
    @RequestMapping("/gamedata/all")
    public String getGameData(@RequestBody Long gameId){
        return "获取球队比赛数据数据";
    }

    /**
     * 获取球员比赛数据
     * @return
     */
    @RequestMapping("/gamedata/player")
    public String getGameDataInPlayer(@RequestBody Long gameId,@RequestBody Long playerId){
        return "获取球员比赛数据";
    }


}
